import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
// 竞赛系统token
const TokenKey_new = 'AuthToken'

export function getToken() {
  return Cookies.get(TokenKey_new)
}

export function setToken(token) {
  return Cookies.set(TokenKey_new, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey_new)
}
